<template>
  <div class="about">
    <h1>This is an about page</h1>
    <button @click="testFn">发送test请求</button>
    <div @click="storeFn">
      获取store
    </div>
  </div>
</template>

<script setup>
import request from '@/utils/axios.js'
import { useStore } from 'vuex'
  const store = useStore()
  const testFn = ()=>{
    request.post("admin/employee/test")
  }
  const storeFn = ()=>{
    let count = store.state.count;
    let userinfo = store.state.employee.userinfo;
  }
</script>

<style>

</style>
